package com.evil.activiti.cmd;

import org.activiti.engine.impl.db.DbSqlSession;
import org.activiti.engine.impl.interceptor.Command;
import org.activiti.engine.impl.interceptor.CommandContext;

/**
 * 获取DbSqlSession
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
public class GetDbSqlSessionCmd implements Command<DbSqlSession> {

    @Override
    public DbSqlSession execute(CommandContext commandContext) {
        return commandContext.getDbSqlSession();
    }
}
